from api.ihrm_login_api import IhrmLoginApi


def get_header():
    req_data = {"mobile":"1320000008",
                "password":"123456",
                }
    resp = IhrmLoginApi.login(req_data)
    header = {"Authorization": resp.json().get("data")}
    return header

